﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace HF.WorkFlow.DataContract
{
    /// <summary>
    /// 实体类WorkTaskInstanceViewEntity 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [DataContract]
    public class WorkTaskInstanceViewEntity
    {
        #region Entity
        /// <summary>
        /// 任务优先级
        /// </summary>
        [DataMember]
        public string Priority { get; set; }
        /// <summary>
        /// 流程编号
        /// </summary>
        [DataMember]
        public string WorkFlowNo { get; set; }
        /// <summary>
        /// 任务开始时间
        /// </summary>
        [DataMember]
        public DateTime taskStartTime { get; set; }
        /// <summary>
        /// 任务实例名称
        /// </summary>
        [DataMember]
        public string TaskInstanceCaption { get; set; }
        /// <summary>
        /// 流程实例名称
        /// </summary>
        [DataMember]
        public string FlowInstanceCaption { get; set; }
        /// <summary>
        /// 处理者信息
        /// </summary>
        [DataMember]
        public string OperContent { get; set; }
        /// <summary>
        /// 流程模板名称
        /// </summary>
        [DataMember]
        public string FlowCaption { get; set; }
        /// <summary>
        /// 任务模板名称
        /// </summary>
        [DataMember]
        public string TaskCaption { get; set; }
        /// <summary>
        /// 实际处理人Id
        /// </summary>
        [DataMember]
        public string UserId { get; set; }
        /// <summary>
        /// 处理者实例Id
        /// </summary>
        [DataMember]
        public string OperatorInstanceId { get; set; }
        /// <summary>
        /// 流程模板Id
        /// </summary>
        [DataMember]
        public string WorkFlowId { get; set; }
        /// <summary>
        /// 任务模板Id
        /// </summary>
        [DataMember]
        public string WorkTaskId { get; set; }
        /// <summary>
        /// 流程实例id
        /// </summary>
        [DataMember]
        public string WorkFlowInstanceId { get; set; }
        /// <summary>
        /// 任务实例Id
        /// </summary>
        [DataMember]
        public string WorkTaskInstanceId { get; set; }
        /// <summary>
        /// 处理者类型
        /// </summary>
        [DataMember]
        public int OperType { get; set; }
        /// <summary>
        /// 任务类型Id
        /// </summary>
        [DataMember]
        public string TaskTypeId { get; set; }

        /// <summary>
        /// 任务处理信息
        /// </summary>
        [DataMember]
        public string OperatedDes { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public DateTime OperDateTime { get; set; }
        /// <summary>
        /// 任务结束时间
        /// </summary>
        [DataMember]
        public DateTime taskEndTime { get; set; }
        /// <summary>
        /// 流程开始时间
        /// </summary>
        [DataMember]
        public DateTime flowStartTime { get; set; }
        /// <summary>
        /// 流程结束时间
        /// </summary>
        [DataMember]
        public DateTime flowEndTime { get; set; }
        /// <summary>
        /// 前一任务处理信息
        /// </summary>
        [DataMember]
        public string pOperatedDes { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DataMember]
        public string Description { get; set; }
        /// <summary>
        /// 操作实例状态
        /// </summary>
        [DataMember]
        public string OperStatus { get; set; }
        /// <summary>
        /// 任务状态
        /// </summary>
        [DataMember]
        public string Status { get; set; }

        /// <summary>
        /// 任务实例类型
        /// </summary>
        [DataMember]
        public string taskInsType { get; set; }
       
        
        #endregion Entity

    }
}

